package com.cn.kehong.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.Map;

public class ProductSaojieJob {
    private String id;

    private String saojieId;

    private String yaoGuanCode;

    private String value1;

    private String value2;

    private String value3;

    private String value4;

    private String value5;

    private String value6;

    private String value7;

    private String value8;

    private String value9;

    private String value10;

    private String value11;

    private String value12;

    private String value13;

    private String value14;

    private String value15;

    private String value16;

    private String value17;

    private String value18;

    private String value19;

    private String value20;

    private String value21;

    private String value22;

    private String saojieJobStatus;

    private Date createTime;

    private Date updateTime;

    private String status;

    private String yaoGuanStatus;

    private String dianChuciCode;

    private String factoryName;

    private String productCode;

    private String saojieStatus;

    private String gzGuanCode;

    private String startCode;
    private String gradeValue;

    private int count;

    public static final transient Map<String, String> STATUSMAP =
            ImmutableMap.of("0", "进行中", "1", "已完成");


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getSaojieId() {
        return saojieId;
    }

    public void setSaojieId(String saojieId) {
        this.saojieId = saojieId == null ? null : saojieId.trim();
    }

    public String getYaoGuanCode() {
        return yaoGuanCode;
    }

    public void setYaoGuanCode(String yaoGuanCode) {
        this.yaoGuanCode = yaoGuanCode == null ? null : yaoGuanCode.trim();
    }

    public String getValue1() {
        return value1;
    }

    public void setValue1(String value1) {
        this.value1 = value1 == null ? null : value1.trim();
    }

    public String getValue2() {
        return value2;
    }

    public void setValue2(String value2) {
        this.value2 = value2 == null ? null : value2.trim();
    }

    public String getValue3() {
        return value3;
    }

    public void setValue3(String value3) {
        this.value3 = value3 == null ? null : value3.trim();
    }

    public String getValue4() {
        return value4;
    }

    public void setValue4(String value4) {
        this.value4 = value4 == null ? null : value4.trim();
    }

    public String getValue5() {
        return value5;
    }

    public void setValue5(String value5) {
        this.value5 = value5 == null ? null : value5.trim();
    }

    public String getValue6() {
        return value6;
    }

    public void setValue6(String value6) {
        this.value6 = value6 == null ? null : value6.trim();
    }

    public String getValue7() {
        return value7;
    }

    public void setValue7(String value7) {
        this.value7 = value7 == null ? null : value7.trim();
    }

    public String getValue8() {
        return value8;
    }

    public void setValue8(String value8) {
        this.value8 = value8 == null ? null : value8.trim();
    }

    public String getValue9() {
        return value9;
    }

    public void setValue9(String value9) {
        this.value9 = value9 == null ? null : value9.trim();
    }

    public String getValue10() {
        return value10;
    }

    public void setValue10(String value10) {
        this.value10 = value10 == null ? null : value10.trim();
    }

    public String getValue11() {
        return value11;
    }

    public void setValue11(String value11) {
        this.value11 = value11 == null ? null : value11.trim();
    }

    public String getValue12() {
        return value12;
    }

    public void setValue12(String value12) {
        this.value12 = value12 == null ? null : value12.trim();
    }

    public String getValue13() {
        return value13;
    }

    public void setValue13(String value13) {
        this.value13 = value13 == null ? null : value13.trim();
    }

    public String getValue14() {
        return value14;
    }

    public void setValue14(String value14) {
        this.value14 = value14 == null ? null : value14.trim();
    }

    public String getValue15() {
        return value15;
    }

    public void setValue15(String value15) {
        this.value15 = value15 == null ? null : value15.trim();
    }

    public String getValue16() {
        return value16;
    }

    public void setValue16(String value16) {
        this.value16 = value16 == null ? null : value16.trim();
    }

    public String getValue17() {
        return value17;
    }

    public void setValue17(String value17) {
        this.value17 = value17 == null ? null : value17.trim();
    }

    public String getValue18() {
        return value18;
    }

    public void setValue18(String value18) {
        this.value18 = value18 == null ? null : value18.trim();
    }

    public String getValue19() {
        return value19;
    }

    public void setValue19(String value19) {
        this.value19 = value19 == null ? null : value19.trim();
    }

    public String getValue20() {
        return value20;
    }

    public void setValue20(String value20) {
        this.value20 = value20 == null ? null : value20.trim();
    }

    public String getValue21() {
        return value21;
    }

    public void setValue21(String value21) {
        this.value21 = value21 == null ? null : value21.trim();
    }

    public String getValue22() {
        return value22;
    }

    public void setValue22(String value22) {
        this.value22 = value22 == null ? null : value22.trim();
    }

    public String getSaojieJobStatusCn() {
        return STATUSMAP.get(getSaojieJobStatus());
    }
    public String getSaojieJobStatus() {
        return saojieJobStatus;
    }

    public void setSaojieJobStatus(String saojieJobStatus) {
        this.saojieJobStatus = saojieJobStatus == null ? null : saojieJobStatus.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getYaoGuanStatus() {
        return yaoGuanStatus;
    }

    public void setYaoGuanStatus(String yaoGuanStatus) {
        this.yaoGuanStatus = yaoGuanStatus == null ? null : yaoGuanStatus.trim();
    }

    public String getDianChuciCode() {
        return dianChuciCode;
    }

    public void setDianChuciCode(String dianChuciCode) {
        this.dianChuciCode = dianChuciCode == null ? null : dianChuciCode.trim();
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSaojieStatus() {
        return saojieStatus;
    }

    public void setSaojieStatus(String saojieStatus) {
        this.saojieStatus = saojieStatus;
    }

    public String getGzGuanCode() {
        return gzGuanCode;
    }

    public void setGzGuanCode(String gzGuanCode) {
        this.gzGuanCode = gzGuanCode;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getStartCode() {
        return startCode;
    }

    public void setStartCode(String startCode) {
        this.startCode = startCode;
    }

    public String getGradeValue() {
        return gradeValue;
    }

    public void setGradeValue(String gradeValue) {
        this.gradeValue = gradeValue;
    }
}